package com.cxm.helper.mapper;

import com.cxm.helper.pojo.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxm.helper.pojo.vo.ArticleNumGroupVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author chenximeng
* @description 针对表【article】的数据库操作Mapper
* @createDate 2022-11-22 16:57:54
* @Entity com.cxm.helper.pojo.Article
*/
public interface ArticleMapper extends BaseMapper<Article> {

    List<ArticleNumGroupVO> listArticleNumByCategoryIds(@Param("categoryIds") List<Long> categoryIds);

    List<ArticleNumGroupVO> listArticleNumByUserIds(@Param("userIds") List<Long> userIds);
}




